package com.kmproject.haifu.mvp.model.entity.resbean;

import com.kmproject.haifu.app.AppConstant;

import java.util.List;

public class SecondHandQueryParmar {

    /**
     * areaId : 0
     * beginSalePrice :
     * categoryId : 0
     * endSalePrice :
     * keywords :
     * labelIds : []
     * limit : 0
     * page : 0
     * sortOrders : [{"direction":"","field":""}]
     */

    private Long areaId;
    private Long categoryId;
    private String beginSalePrice;
    private String endSalePrice;
    private String keywords;
    private int limit=AppConstant.pageSize;
    private int page= 1;
    private List<String> labelIds;
    private List<SortOrdersBean> sortOrders;


    public String getBeginSalePrice() {
        return beginSalePrice;
    }

    public void setBeginSalePrice(String beginSalePrice) {
        this.beginSalePrice = beginSalePrice;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getEndSalePrice() {
        return endSalePrice;
    }

    public void setEndSalePrice(String endSalePrice) {
        this.endSalePrice = endSalePrice;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public List<String> getLabelIds() {
        return labelIds;
    }

    public void setLabelIds(List<String> labelIds) {
        this.labelIds = labelIds;
    }

    public List<SortOrdersBean> getSortOrders() {
        return sortOrders;
    }

    public void setSortOrders(List<SortOrdersBean> sortOrders) {
        this.sortOrders = sortOrders;
    }

    public static class SortOrdersBean {
        /**
         * direction :
         * field :
         */

        private String direction;
        private String field;

        public SortOrdersBean(String direction, String field) {
            this.direction = direction;
            this.field = field;
        }

        public String getDirection() {
            return direction;
        }

        public void setDirection(String direction) {
            this.direction = direction;
        }

        public String getField() {
            return field;
        }

        public void setField(String field) {
            this.field = field;
        }
    }
}
